{// 引入标签库 }
<tagLib name="fanwe" />
<include file="Public:header" />
<load href="__TMPL__ThemeFiles/Js/jquery.js" />
<load href="__TMPL__ThemeFiles/Js/jquery.json.js" />
<load href='__TMPL__ThemeFiles/Js/article.js' />
<script type="text/javascript">
var lang_ids = '{$lang_ids}';
var lang_names = '{$lang_names}';
var DIY_URL = '{%DIY_URL}';
</script>
<div id="main" class="main" >
<div class="content">
<div class="title">{$Think.lang.ADD_DATA} [ <a href="{:u($module_name.'/index')}">{$Think.lang.BACK_LIST}</a> ]</div>
<div id="result" class="result none"></div>
<form method='post' id="form" name="form" action="{:u('Article/insert')}"  enctype="multipart/form-data">
<table cellpadding=0 cellspacing=0 class="dataEdit" >
<tr>
	<td class="tRight" width="80">{$Think.lang.ARTICLE_NAME}：</td>
	<td class="tLeft" >
		<fanwe:textbox name="name" class="bLeftRequire" />
	</td>
</tr>
<tr>
	<td class="tRight">{$Think.lang.ARTICLE_CATE}：</td>
	<td class="tLeft" >
		<select name="cate_id" class="bLeftRequire">
		<option value="0">{$Think.lang.NO_CATE_SELECT}</option>
		<foreach name="cate_list" item="cate_item" >
			<option value="{$cate_item.id}">{$cate_item[$select_dispname]}</option>
		</foreach>
		</select>
	</td>
</tr>
<tr>
	<td class="tRight">{$Think.lang.ARTICLE_PREVIEW}：</td>
	<td class="tLeft" >
		<input type="file" name="preview" class="bLeft" />
	</td>
</tr>
<tr>
	<td class="tRight">{$Think.lang.ARTICLE_REF_LINK}：</td>
	<td class="tLeft" >
		<input type="text" name="ref_link" class="bLeft" />
	</td>
</tr>


<tr>
	<td class="tRight" >{$Think.lang.SORT}：</td>
	<td class="tLeft" >
		<input type="text" name="sort" class="bLeft" value="{$new_sort}" />
	</td>
</tr>

<tr>
	<td class="tRight" width="80">{$Think.lang.ARTICLE_BRIEF}：</td>
	<td class="tLeft" >
    	<textarea style="width:80%; height:80px;" name="brief"></textarea>
	</td>
</tr>

<tr>
	<td class="tRight" width="80">{$Think.lang.SEO_KEYWORD}：</td>
	<td class="tLeft" >
    	<textarea style="width:80%; height:80px;" name="seokeyword"></textarea>
	</td>
</tr>

<tr>
	<td class="tRight" width="80">{$Think.lang.SEO_CONTENT}：</td>
	<td class="tLeft" >
    	<textarea style="width:80%; height:80px;" name="seocontent"></textarea>
	</td>
</tr>

<tr>
	<td class="tRight">{$Think.lang.ARTICLE_CONTENT}：</td>
	<td class="tLeft" >
		<fanwe:editor  name="content" type="KindEditor"  style="width:650px;height:200px;visibility:hidden;" />
	</td>
</tr>
<tr>
	<td></td>
	<td class="center"><div style="width:85%;margin:5px">
	<input type="hidden" name="status" value="1" />
	<input type="submit" value="{$Think.lang.SAVE_DATA}"  class="button small"> <input type="reset" class="button small" onclick="resetEditor()" value="{$Think.lang.RESET_DATA}" > 
	</div></td>
</tr>
</form>
</table>
</div>
</div>
